package com.javaweb.service;

import com.javaweb.service.dto.ArticleConditionDto;
import com.javaweb.service.dto.ArticleDto;
import com.javaweb.service.dto.PageResult;

public interface ArticleService {
    /**
     * 根据文章的筛选条件进行分页查询
     * @param articleConditionDto
     * @param pageNum
     * @param pageSize
     * @return
     */
    public PageResult<ArticleDto> queryByArticleCondition(ArticleConditionDto articleConditionDto,
                                                          Integer pageNum, Integer pageSize) ;

    public int publishArticle(String userId, String articleId) ;

}
